home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Ham Radio 2000
/
Ham Radio 2000.iso
/
ham2000
/
morse
/
xtapls01
/
makcalls.bat
< prev
next >
Wrap
DOS Batch File
|
1996-05-04
|
650b
|
32 lines
@ECHO OFF
REM MAKCALLS.BAT expects as input a text file
REM with the extension .TXT. On the command line
REM include the file name only - no "." or extension.
REM For example, if STUFF.TXT is to be the input, the
REM command line would be MAKCALLS STUFF.
CLS
IF "%1" == "" GOTO HELP
CTTY NUL
GETCALLS %1.TXT FFFFFFFF.TMP 0
SORT < FFFFFFFF.TMP > SSSSSSSS.TMP
NODUPS SSSSSSSSW.TMP %1.LCL
ERASE FFFFFFFF.TMP
ERASE SSSSSSSS.TMP
CTTY CON
ECHO %1.lcl has been built.
GOTO END
:HELP
ECHO.
ECHO.
ECHO.
ECHO.
ECHO.
ECHO You didn't provide the file name in the MAKCALLS command line!
ECHO.
ECHO.
ECHO.
ECHO.
ECHO.
:END